
// 预览的样式 先写到这

.dialog-viewpage {
  background-color: #f1f1f1;
  // padding-bottom: 80px !important;
  min-height: 100vh;

  .view-page {
    margin-top: 40px;
    // margin-bottom: 40px;
    padding-bottom: 80px;
  }

  .view-header {
    position: fixed;
    z-index: 10;
    background: #dddddd;
    top: 0;
    left: 0;
    right: 0;
    border-bottom: 1px solid #eeeeee;
    .title{
      line-height: 30px;
      padding: 0 15px;
      .view-icon {
        margin-right: 5px;
        position: relative;
        top: 2px;
        height: 18px;
        width: 18px;
      }
      .button {
        cursor: pointer;
        color: cornflowerblue;
      }
    }
  }

  .view-footer {
    background-color: #ffffff;
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    padding: 20px 30px;
    display: flex;
    text-align: right;
    .label {
      min-width: 80px;
      line-height: 32px;
    }
    .content {
      flex-grow: 1;
      .flex-wrap {
        float: left;
        .flex-tag{
          width: 150px;
          font-size: 12px;
        }
      }
    }
  }

}

.paragraph-view {
  margin-bottom: 15px;
  background: #ffffff;

  .paragraph {
    position: relative;
    padding: 40px;
    cursor: pointer;
    .paragraph-title {
      margin-bottom: 20px;
    }
    .paragraph-content {
      line-height: 1.4em;
      // height: 5.6em;
      // &.open {
      //   height: auto;
      //   overflow: initial;
      // }
      &.overflow {
        height: 6.8em;
        overflow: hidden;
      }
    }
    .open-icon {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 2px;
      text-align: center;
      .icon {
        cursor: pointer;
        display: inline-block;
      }
      &.open {
        .icon {
          transform: rotateX(180deg)
        }
      }
    }
  }

  .paragraph-active {
    outline:rgb(53, 133, 212) solid 2px;
    // border: 2px solid rgb(53, 133, 212);
    // border-color: rgb(53, 133, 212);
    // box-shadow: rgb(170, 170, 170) 0px 0px 2px 2px;
    &:extend(.box-shadow-dark);
  }
  .paragraph-disabled {
    color: #c8c8c8;
  }
}
